Adds BSP layer download mirrors#1703
Adds BSP layer download mirrors#1703quaresmajose wants to merge 4 commits intoqualcomm-linux:masterfrom
Conversation
There are situations where we need to know the version of the BSP. For example, to communicate with the exterior of the layer and use the current version. This variable is for that very purpose. Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
4d5fce4 to
49fc763
Compare
This class adds the official mirror of the BSP, which contains the necessary artifacts to minimize reproducibility issues as much as possible. The mirror uses the MIRRORS and thus works in fallback mode; when the official source is not available, the mirror is used. Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Use the official download mirror by default. Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
ci/mirror-download-disable: Allows to disable the download mirror to avoid potential masking of problems in official sources. ci/mirror-download-test: Was intended to test the download mirror to see if this has everything that is needed without resorting to external sources. Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
49fc763 to
799eab5
Compare
Test run workflowTest jobs for commit 799eab5
All jobs summary
|
Test Results 24 files - 23 24 suites - 185 1h 15m 56s ⏱️ - 2h 14m 39s For more details on these failures, see this check. Results for commit 799eab5. ± Comparison against base commit 8fcbe81. This pull request removes 36 tests. |
| # | ||
|
|
||
| # Add qcom mirror so we can fallback to it | ||
| MIRRORS += "${QCOM_MIRRORS}" |
There was a problem hiding this comment.
Can you move this assignment after QCOM_MIRRORS is defined? Easier to parse when reading this.
| " | ||
|
|
||
| # Release | ||
| QCOM_RELEASE = "main" |
There was a problem hiding this comment.
QLI_RELEASE or QLI_BASELINE would work better from my perspective.
QCOM is too generic to be used here.
| # Release | ||
| QCOM_RELEASE = "main" | ||
|
|
||
| INHERIT += "qcom-mirrors" |
There was a problem hiding this comment.
Can we rename the file to clo-mirrors instead? It is hosted by codelinaro.
| # Add qcom mirror so we can fallback to it | ||
| MIRRORS += "${QCOM_MIRRORS}" | ||
|
|
||
| QCOM_MIRRORS_URI ?= "https://artifacts.codelinaro.org/aritfactory/qli-ci/downloads/${QCOM_RELEASE}" |
There was a problem hiding this comment.
Why do we need a release-specific dir?
Adds the official mirror of the BSP, which contains the necessary artifacts to minimize reproducibility issues as much as possible. The mirror uses the MIRRORS and thus works in fallback mode; when the official source is not available, the mirror is used.